package cn.tom.entity;

import lombok.Data;

import java.util.*;

@Data
public class Cart2Ord {
    private Integer ordid;  //前端无需上传
    private Integer uid;//前端无需上传
    private Double amount;//前端无需上传 订单总价
    private String ship2name; //收货金额
    private String ship2phone; //收货人电话
    private String ship2addr; //收货地址
    private String shipper;   //前端无需上传 承运人
    private List <Cart> cartList = new ArrayList<>();

    public Cart2Ord() {
        ordid = 0;
        uid = 0;
        amount = 0.0;
        ship2name = "";
        ship2phone = "";
        ship2addr = "";
        shipper = "";
    }

}
